projects
/
project
/
firmware-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7790ac9
)
use HOST_STATIC_LINKING instead of hardcoding -static
author
Jo-Philipp Wich
<
[email protected]
>
Sun, 12 Aug 2012 12:34:30 +0000
(12:34 +0000)
committer
Jo-Philipp Wich
<
[email protected]
>
Sun, 12 Aug 2012 12:34:30 +0000
(12:34 +0000)
SVN-Revision: 33140
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 640dd23ee539f35429a1470ba671af43ea876d1a..29946607601807f16ffef0abc7450587bd2900e3 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-12,7
+12,7
@@
include $(INCLUDE_DIR)/host-build.mk
include $(INCLUDE_DIR)/kernel.mk
define cc
- $(HOSTCC) $(HOST_CFLAGS) -include endian.h
-static
-o $(HOST_BUILD_DIR)/bin/$(firstword $(1)) $(foreach src,$(1),src/$(src).c) $(2)
+ $(HOSTCC) $(HOST_CFLAGS) -include endian.h
$(HOST_STATIC_LINKING)
-o $(HOST_BUILD_DIR)/bin/$(firstword $(1)) $(foreach src,$(1),src/$(src).c) $(2)
endef
define Host/Compile